package com.yykj.bank.server.model.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Data
@Entity
public class BankCardChekLog {

    @ApiModelProperty("银行卡号")
    @Id
    @Column(length = 50)
    private String accountNo;

    @ApiModelProperty("银行卡名称")
    @Column(length = 100)
    private String cardName;

    @ApiModelProperty("借记卡，贷记卡")
    @Column(length = 50)
    private String cardType;

    @Column(length = 50)
    @ApiModelProperty("身份证号")
    private String idCard;

    @Column(length = 50)
    @ApiModelProperty("用户姓名")
    private String name;

    @Column(length = 20)
    @ApiModelProperty("用户姓名")
    private String mobile;


    @Column(length = 100)
    @ApiModelProperty("银行名称")
    private String bank;

    @Column(length = 50)
    @ApiModelProperty("请求唯一id")
    private String traceId;
}
